import request from '@/utils/request'

// 查询放款前提页签显示标识列表
export function listBasicRiskHd(query) {
  return request({
    url: '/lease/basicRiskHd/list',
    method: 'get',
    params: query
  })
}

// 查询放款前提页签显示标识详细
export function getBasicRiskHd(basicRiskHdId) {
  return request({
    url: '/lease/basicRiskHd/' + basicRiskHdId,
    method: 'get'
  })
}

// 新增放款前提页签显示标识
export function addBasicRiskHd(data) {
  return request({
    url: '/lease/basicRiskHd',
    method: 'post',
    data: data
  })
}

// 修改放款前提页签显示标识
export function updateBasicRiskHd(data) {
  return request({
    url: '/lease/basicRiskHd',
    method: 'put',
    data: data
  })
}

// 删除放款前提页签显示标识
export function delBasicRiskHd(basicRiskHdId) {
  return request({
    url: '/lease/basicRiskHd/' + basicRiskHdId,
    method: 'delete'
  })
}
